Northwoods.GoSilverlight 2.1.1 Assembly
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class Members
See Also  Properties  Methods  Events Send Feedback
Northwoods.GoXam.Model Namespace : GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class


Glossary Item Box

The following tables list the members exposed by GraphLinksModel<NodeType,NodeKey,PortKey,LinkType>.

Public Constructors

 NameDescription
Public ConstructorGraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Constructor The default constructor produces an empty model.  
Top

Public Properties

 NameDescription
Public PropertyDataFormat Gets or sets the format of this model's data. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyGroupNodePath Gets or sets a property path that that specifies how to get the key for "container" or group node data of a node data object.  
Public PropertyHasUndoManager Gets or sets a flag that enables or disables support for undo and redo. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyIsChangingModelThis property is true during a call to ChangeModel, indicating a change happening due to an undo or a redo. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyIsInTransactionThis property is true after a StartTransaction and before a corresponding CommitTransaction or RollbackTransaction. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyIsModified Gets or sets whether this model is considered changed from an earlier state. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyLinkCategoryPath Gets or sets a property path that that specifies how to find the category of a link data.  
Public PropertyLinkFromParameterPath Gets or sets a property path that that specifies how to get optional "port" parameter information for the "from" node data of a link data object.  
Public PropertyLinkFromPath Gets or sets a property path that that specifies how to get the key for the "from" node data of a link data object.  
Public PropertyLinkLabelNodePath Gets or sets a property path that that specifies how to get the key for the "label" node data of a link data object.  
Public PropertyLinksSource Gets or sets the collection of link data items for the model.  
Public PropertyLinkToParameterPath Gets or sets a property path that that specifies how to get optional "port" parameter information for the "to" node data of a link data object.  
Public PropertyLinkToPath Gets or sets a property path that that specifies how to get the key for the "to" node data of a link data object.  
Public PropertyMemberNodesPath Gets or sets a property path that that specifies how to get a list of keys for the "member" nodes of a group node data object.  
Public PropertyModifiable Gets or sets whether various model-changing methods are enabled. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyName A name for this model. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyNodeCategoryPath Gets or sets a property path that that specifies how to find the category of a node data.  
Public PropertyNodeIsGroupPath Gets or sets a property path that that specifies how to find out whether a node data is also a "container" group.  
Public PropertyNodeIsLinkLabelPath Gets or sets a property path that that specifies how to find out whether a node data is also a "label" for a link data.  
Public PropertyNodeKeyIsNodeData Gets or sets whether all node data are also their own keys.  
Public PropertyNodeKeyPath Gets or sets a property path that that specifies how to get the key for node data.  
Public PropertyNodeKeyReferenceAutoInsertsGets or sets whether a NodeKey reference, when NodeKeyIsNodeData is true, automatically inserts the node into NodesSource.  
Public PropertyNodesSource Gets or sets the collection of node data items for the model.  
Public PropertySkipsUndoManagerGets or sets a flag that tells OnChanged whether it should notify any UndoManager that a change has occurred. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyUndoManagerGets or sets the UndoManager for this model. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public PropertyValidCycle Specify what kinds of graphs this model allows.  
Public PropertyValidUnconnectedLinks Gets or sets whether each link data must have both ends refer to node data.  
Top

Protected Properties

 NameDescription
Protected PropertyInitializing Gets or sets whether the model is being constructed or re-constructed. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Top

Public Methods

 NameDescription
Public MethodAddCollectionCopy Copy existing node and link data and add to this model.  
Public MethodAddLinkOverloaded. Add a link data to LinksSource.  
Public MethodAddLinkCopy Add a copy of a link data to this model.  
Public MethodAddMemberNodeKey Add a "member" node data's key value to a node data's list of "members".  
Public MethodAddNodeAdd a node data to NodesSource.  
Public MethodAddNodeCopy Add a copy of a node data to this model.  
Public MethodChangeModel This is called during an Undo or a Redo to actually make state changes to this model or to this model's data. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodClearUnresolvedReferences Forget all unresolved delayed or forward references.  
Public MethodCommitTransaction Call the UndoManager's CommitTransaction method. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodCreateCopyDictionaryCreate an ICopyDictionary initialized for this model.  
Public MethodCreateDataCollectionCreate an empty IDataCollection for this model.  
Public MethodCreateInitializedCopyMake a copy of this model, without sharing the NodesSource or LinksSource collections.  
Public MethodDoGroupNodeChanged This should be called when a node data's membership in a group may have changed.  
Public MethodDoLinkAddedThis should be called when a link data object is added to the LinksSource collection.  
Public MethodDoLinkCategoryChanged This should be called when a link data's category value may have changed.  
Public MethodDoLinkLabelChanged This should be called when a link data's label node may have changed.  
Public MethodDoLinkPortsChanged This should be called when a link data's connected node or port, either "from" or "to", may have changed.  
Public MethodDoLinkRemovedThis should be called when a link data object is removed from the LinksSource collection.  
Public MethodDoMemberNodeKeyAdded This should be called when a "member" node data key has been added to the collection of "member" node keys.  
Public MethodDoMemberNodeKeyRemoved This should be called when a "member" node data key has been removed from the collection of "member" node keys.  
Public MethodDoMemberNodeKeysChanged This should be called when a node data's list of "member" nodes has been replaced.  
Public MethodDoNodeAddedThis should be called when a node data object is added to the NodesSource collection.  
Public MethodDoNodeCategoryChanged This should be called when a node data's category value may have changed.  
Public MethodDoNodeKeyChanged This should be called when a node data's key value may have changed.  
Public MethodDoNodeRemovedThis should be called when a node data object is removed from the NodesSource collection.  
Public MethodFindNodeByKey Given a key, find the node data with that key.  
Public MethodGetCategoryForLink This method gets the category of a link.  
Public MethodGetCategoryForNode This method gets the category of a node.  
Public MethodGetConnectedNodesForNodeOverloaded.  Return a sequence of node data that are directly connected to a given node, in either direction.  
Public MethodGetFromLinksForNode Return a sequence of link data that are connnected at a given node data, only going into the given node.  
Public MethodGetFromNodeForLink Return the "from" node data at which a link data is connected.  
Public MethodGetFromNodesForNodeOverloaded.  Return a sequence of node data that are directly connected by links going into a given node.  
Public MethodGetFromParameterForLink Return additional "port" information for the "from" end of a link data.  
Public MethodGetGroupForLink Return a container node data for a given link data, if the link belongs to a group.  
Public MethodGetGroupForNode Return the container group node data for a given node data, if there is one.  
Public MethodGetHasLabeledLinkForNode This predicate is true for a node data if it is associated with a link data as its "label".  
Public MethodGetHasLabelNodeForLink This predicate is true if the given link data has a "label" node.  
Public MethodGetIsGroupForNode This predicate is true if a given node data may be a group (i.e. a container) of other nodes.  
Public MethodGetIsLinkLabelForNode This predicate is true if the given node data may be used as a "label" for a link.  
Public MethodGetLabeledLinkForNode Get the link data that refers to a given node data as its "label".  
Public MethodGetLabelNodeForLink Get the "label" node data for a link data, if any.  
Public MethodGetLinksBetweenNodes Return a sequence of all link data that go from one node to another, possibly restricted to certain "ports".  
Public MethodGetLinksForNodeOverloaded.  Return a sequence of link data that are connnected at a given node data, in either direction.  
Public MethodGetMemberLinksForGroup Return a sequence of link data that are contained by a given node data.  
Public MethodGetMemberNodesForGroup Return a sequence of node data that are immediate members of a given node data.  
Public MethodGetNodeTypeReturn the NodeType.  
Public MethodGetToLinksForNode Return a sequence of link data that are connnected at a given node data, only coming out of the given node.  
Public MethodGetToNodeForLink Return the "to" node data at which a link data is connected.  
Public MethodGetToNodesForNodeOverloaded.  Return a sequence of node data that are directly connected by links coming out from a given node.  
Public MethodGetToParameterForLink Return additional "port" information for the "to" end of a link data.  
Public MethodIsLinkData This predicate is true if the argument is a link data in this model.  
Public MethodIsLinked This predicate is true if there is a link from one node data/port to another one.  
Public MethodIsLinkTypeReturn the LinkType.  
Public MethodIsLinkValid This predicate is true if adding a link between two nodes/ports would result in a valid graph.  
Public MethodIsMemberThis predicate is true if the membernodedata is a member of the groupnodedata container group.  
Public MethodIsMemberValidThis predicate is true if adding membernodedata to a group node (groupnodedata) would result in an invalid graph.  
Public MethodIsNodeData This predicate is true if the argument is a node data in this model.  
Public MethodIsNodeTypeThis predicate is true when the argument is an instance of NodeType.  
Public MethodIsRelinkValid This predicate is true if replacing a link between two nodes/ports would result in a valid graph.  
Public MethodLoadOverloaded. Given a Linq for XML XContainer holding node and link data, replace this model's NodesSource and LinksSource collections with collections of new node data and new link data.  
Public MethodRaiseChangedRaise a Changed event, given a ModelChangedEventArgs. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodRaisePropertyChangedOverloaded. Raise a Changed event, given before and after values for a particular property. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodRemoveLinkOverloaded. Remove a link data from LinksSource.  
Public MethodRemoveMemberNodeKey Remove a child node data's key value from a group node data's list of "member" key values.  
Public MethodRemoveNodeRemove a node data from NodesSource.  
Public MethodResolveAllReferencesCause ResolveNodeKey to be called on each known delayed or forward node reference.  
Public MethodRollbackTransaction Call the UndoManager's RollbackTransaction method. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Public MethodSave<NodeDataType,LinkDataType>Generate a Linq for XML XElement holding all of the node and link data.  
Public MethodSetGroupNodeKey Change a node data so that it refers to a different container group node data, by node key.  
Public MethodSetLinkFromPort Change a link data so that it refers to a different "from" node data and associated port information.  
Public MethodSetLinkLabelKey Change a link data so that it refers to a different "label" node data.  
Public MethodSetLinkToPort Change a link data so that it refers to a different "to" node data and associated port information.  
Public MethodSetMemberNodeKeys Replace a node data's list of "member" key values.  
Public MethodStartTransaction Call the UndoManager's StartTransaction method. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Top

Protected Methods

 NameDescription
Protected MethodAugmentCopyCollection Override this method to add more (related) data to be copied.  
Protected MethodAugmentCopyDictionary Override this method to avoid copying some data, or to change how copied references are resolved.  
Protected MethodChangeDataValueOverridden.  This is called during undo or redo to effect state changes to model data.  
Protected MethodChangeModelValueOverridden.  This is called during undo or redo to effect state changes to this model.  
Protected MethodCheckLinkValid This predicate is true if adding a link between two nodes/ports would result in a validly structured graph.  
Protected MethodCheckMemberValid This predicate is true if adding a node to a group node would result in an invalid graph.  
Protected MethodCopyLink1 This is the first pass of copying link data, responsible for constructing a copy and copying most of its properties.  
Protected MethodCopyLink2 This is the second pass of copying link data, responsible for fixing up references to other objects.  
Protected MethodCopyNode1 This is the first pass of copying node data, responsible for constructing a copy and copying most of its properties.  
Protected MethodCopyNode2 This is the second pass of copying node data, responsible for fixing up references to other objects.  
Protected MethodDeleteLinkOverloaded. This method actually implements the removal of a link data from the LinksSource collection.  
Protected MethodDeleteMemberNodeKeyThis method actually implements the modification of a node data so that it's collection of children node data does not include a given memberkey.  
Protected MethodDeleteNodeThis method actually implements the removal of a node data from the NodesSource collection.  
Protected MethodFindCategoryForLink Find the category of a link data.  
Protected MethodFindCategoryForNode Find the category of a node data.  
Protected MethodFindFromNodeKeyForLink Find the "from" node key for a given link data.  
Protected MethodFindFromParameterForLink Find additional information about the "from" node connection for a given link data.  
Protected MethodFindGroupKeyForNode Find containing group node key for a given node data, if any.  
Protected MethodFindIsGroupForNode Find whether a node data is a group or container of other nodes.  
Protected MethodFindIsLinkLabelForNode Find whether a node data is a "label" for a link data.  
Protected MethodFindKeyForNode Find the key for node data.  
Protected MethodFindLabelNodeKeyForLink Find the "label" node key for a given link data, if any.  
Protected MethodFindMemberNodeKeysForNode Find the list of keys of the children nodes for a node data object.  
Protected MethodFindToNodeKeyForLink Find the "to" node key for a given link data.  
Protected MethodFindToParameterForLink Find additional information about the "to" node connection for a given link data.  
Protected MethodHandleLinkPropertyChangedThis is the System.ComponentModel.INotifyPropertyChanged event handler for link data.  
Protected MethodHandleNodePropertyChangedThis is the System.ComponentModel.INotifyPropertyChanged event handler for node data.  
Protected MethodInsertLinkOverloaded. This method actually implements the addition of a link data to the LinksSource collection.  
Protected MethodInsertMemberNodeKeyThis method actually implements the modification of a node data so that it's collection of member node data includes a given memberkey.  
Protected MethodInsertNodeThis method actually implements the addition of a node data to the NodesSource collection.  
Protected MethodIsEqualPortParametersThis predicate compares two PortKey values and returns true if they are "equal".  
Protected MethodMakeNodeKeyUnique This method is called when a duplicate key has been found.  
Protected MethodModifyGroupNodeKeyThis method actually implements the modification of a node data so that its reference to a containing group node data (if any) is the given groupkey.  
Protected MethodModifyLinkFromPort This method actually implements the modification of a link data to change the reference to the "from" node data and the link's "from" port information.  
Protected MethodModifyLinkLabelKey This method actually implements the modification of a link data to change the reference to the "label" node data.  
Protected MethodModifyLinkToPort This method actually implements the modification of a link data to change the reference to the "to" node data and the link's "to" port information.  
Protected MethodModifyMemberNodeKeys This method actually implements the replacement of a group node data's collection of member node keys.  
Protected MethodOnChangedRaises the Changed event. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Protected MethodReinitializeReset the fields that should not be shared from a copy created by System.Object.MemberwiseClone. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Protected MethodResolveNodeKeyThis is called repeatedly by ResolveAllReferences, once for each known delayed or forward node reference.  
Top

Public Events

 NameDescription
Public EventChanged The Changed event is raised whenever the model is modified. (Inherited from Northwoods.GoXam.Model.DiagramModel)
Top

See Also

© 2013 All Rights Reserved.